/**
 * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights
 *          reserved. For licensing, see LICENSE.html or
 *          http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function(config) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	config.toolbar_MyToolBar = [
			[ 'Source' ],
			[ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-',
					'SpellChecker', 'Scayt' ],
			[ 'Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll',
					'RemoveFormat' ],
			'/',
			[ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript',
					'Superscript' ],
			[ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent',
					'Blockquote', 'CreateDiv' ],
			[ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock' ],
			[ 'Link', 'Unlink', 'Anchor' ],
			[ 'Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley',
					'SpecialChar' ], '/',
			[ 'Styles', 'Format', 'Font', 'FontSize' ],
			[ 'TextColor', 'BGColor' ], [ 'Maximize', '-', 'About' ] ];

	config.toolbar = 'MyToolBar';

	config.font_defaultLabel = '굴림';
	config.font_names = '굴림/굴림;Apple SD 산돌고딕 Neo/Apple SD 산돌고딕 Neo;나눔고딕/나눔고딕;나눔명조/나눔명조;Gungsuh/Gungsuh;Arial/Arial;Tahoma/Tahoma;Verdana/Verdana';
	
	config.filebrowserBrowseUrl = '/NowonChangilChurch_Admin/filemanager/index.html';
    config.filebrowserImageBrowseUrl = '/NowonChangilChurch_Admin/filemanager/index.html?type=Images&currentFolder=/Image/';
    config.filebrowserFlashBrowseUrl = '/NowonChangilChurch_Admin/filemanager/index.html?type=Flash&currentFolder=/Flash/';
    config.filebrowserUploadUrl = '/NowonChangilChurch_Admin/filemanager/connectors/jsp/filemanager.jsp?mode=add&type=Files&currentFolder=/File/';
    config.filebrowserImageUploadUrl = '/NowonChangilChurch_Admin/filemanager/connectors/jsp/filemanager.jsp?mode=add&type=Images&currentFolder=/Image/';
    config.filebrowserFlashUploadUrl = '/NowonChangilChurch_Admin/filemanager/connectors/jsp/filemanager.jsp?mode=add&type=Flash&currentFolder=/Flash/';
////	config.filebrowserWindowWidth = 500;
////	config.filebrowserWindowHeight = 650;
//	config.filebrowserUploadUrl = org.aarboard.ckeditor.connector.VaadinBrowser.getFilebrowserImageUploadUrl();
};
